package cn.wenlihelp.service;

import cn.wenlihelp.bean.ResourceType;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface ResourceTypeService {
    PageInfo<ResourceType> findAll(int page, int limit, ResourceType resourceType);
    List<ResourceType> findAll(ResourceType resourceType);
    ResourceType findById(Long id);

    boolean deleteByIds(Integer[] ids);

    boolean insert(ResourceType resourceType);

    boolean updateByPrimaryKey(ResourceType resourceType);
}
